package com.qidianit.mes.production.service.impl;

import com.qidianit.common.pojo.MESResult;
import com.qidianit.mes.production.mapper.ProcessRelationshipMapper;
import com.qidianit.mes.production.service.ProcessRelationshipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author djl
 * @Time 2024/10/22 15:10
 */
@Service
public class ProcessRelationshipServiceImpl implements ProcessRelationshipService {
    @Autowired
    private ProcessRelationshipMapper processRelationshipMapper;

    @Override
    public MESResult list() {
        return MESResult.success(processRelationshipMapper.list());
    }
}
